/*
 * IdeasList.java
 * purpose : Controller
 * 
 * @version 1.0 04/24/11
 * @author Ahmed Mustafa Taha
 */

package controllers;

import java.util.List;
import models.Idea;
import play.mvc.Controller;

public class IdeasList extends Controller {
	/*
	 * Method to get a list of all ideas and render it.
	 */

	public static void getListOfIdeas() {
		List<Idea> ideasList = Idea.getListOfAllIdeas();
		render(ideasList);
	}

}
